package cn.book;

/**
 * Created with Intellij IDEA.
 * Description;
 * User:墨琦
 * Data:2023-03-24
 * Time:14:44
 */
public class BookList {
    private Book[] booklist=new Book[10];
    private int size;

    public BookList()
    {
        booklist[0]= new Book("西游记","喜羊羊",55,"小说");
        booklist[1]= new Book("水浒传","灰羊羊",55,"小说");
        booklist[2]= new Book("红楼梦","灰太狼",55,"小说");
        booklist[3]= new Book("三国演义","美羊羊",55,"小说");
       this.size=4;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }
}
